

package com.hazelcast.internal.config;

import com.hazelcast.config.HotRestartConfig;

public class HotRestartConfigReadOnly extends HotRestartConfig {
    public HotRestartConfigReadOnly(HotRestartConfig config) {
        super(config);
    }

    @Override
    public HotRestartConfig setFsync(boolean fsync) {
        throw new UnsupportedOperationException("This config is read-only");
    }

    @Override
    public HotRestartConfig setEnabled(boolean enabled) {
        throw new UnsupportedOperationException("This config is read-only");
    }
}
